package homework;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Random;
import java.util.Scanner;

public class Test1 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        int i = 0;
        while (i <= n){
            if(i<10){
                
            }
            i++;
        }
    }
    public static void main7(String[] args) {
        Random random = new Random();
        int toGuess = random.nextInt(100) + 1;
        Scanner scanner = new Scanner(System.in);
        while (true) {
            System.out.println("请输入你猜的数：");
            int num = scanner.nextInt();
            if (num > toGuess) {
                System.out.println("猜大了！");
            } else if (num < toGuess) {
                System.out.println("猜小了！");
            } else {
                System.out.println("恭喜你，猜对了！");
                break;
            }
        }
    }

    public static void main6(String[] args) throws IOException {
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        String strs = null;
        while ((strs = in.readLine()) != null) {
            int n = Integer.parseInt(strs);
            char[][] ch = new char[n][n];
            for (int i = 0; i < n; i++) {
                for (int j = 0; j < n; j++) {
                    ch[i][j] = ' ';
                    if (i == j) {
                        ch[i][j] = '*';
                    }
                    if ((i + j) == (n - 1)) {
                        ch[i][j] = '*';
                    }
                }
            }

            for (int i = 0; i < n; i++) {
                for (int j = 0; j < n; j++) {
                    System.out.print(ch[i][j]);
                }
                System.out.println();
            }
        }
    }

    public static void main5(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入您的年龄！");
        int age = scanner.nextInt();
        if (age < 18) {
            System.out.println("少年！");
        }
        if (age >= 18 && age <= 28) {
            System.out.println("青年！");
        }
        if (age >= 29 && age <= 55) {
            System.out.println("中年！");
        }
        if (age >= 56) {
            System.out.println("老年！");
        }
    }

    public static void main4(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入一个数！");
        int num = scanner.nextInt();
        int flag = 0;
        if (num == 0 || num == 1) {
            System.out.println("既不是素数也不是合数！");
        }
        if (num >= 2) {
            for (int i = 2; i < num; i++) {
                if (num % i == 0) {
                    flag++;
                }
            }
            if (flag == 0) {
                System.out.println(num + "是素数！");
            } else {
                System.out.println(num + "不是素数！");
            }
        }
    }

    public static void main3(String[] args) {
        int cnt = 0;
        for (int i = 2; i <= 100; i++) {
            for (int j = 2; j <= i; j++) {
                if (i % j == 0 && i != j) {
                    break;
                }
                if (i == j) {
                    if (cnt % 8 == 0) {
                        System.out.println();
                    }
                    System.out.print(j + "   ");
                    cnt++;
                }
            }
        }
    }

    public static void main2(String[] args) {
        int t = 0;
        for (int i = 1000; i <= 2000; i++) {
            if (i % 4 == 0 && i % 100 != 0 || i % 400 == 0) {
                if (t % 12 == 0) {
                    System.out.println();
                }
                t++;
                System.out.print(i + " ");
            }
        }
    }

    public static void main1(String[] args) {
        int count = 0;
        for (int i = 1; i <= 100; i++) {
            if (i % 10 == 9) {
                count++;
            }
            if (i / 10 == 9) {
                count++;
            }
        }
        System.out.println(count);
    }
}
